package entities;

public class OrderItemEntity {
	
	//提交不了 ？？？
	private String saleTime;
	private String orderId = "";
	private String cliName = "";
	private int number = 0;
	private String foodName = null;
	private String isPaid = "";
	private String money;
	
	public OrderItemEntity(){
		super();
	}
	
	public OrderItemEntity(String saleTime, String orderId, String cliName,
			int number, String foodName, String isPaid, String money) {
		super();
		this.saleTime = saleTime;
		this.orderId = orderId;
		this.cliName = cliName;
		this.number = number;
		this.foodName = foodName;
		this.isPaid = isPaid;
		this.money = money;
	}
	public String getSaleTime() {
		return saleTime;
	}
	public void setSaleTime(String saleTime) {
		this.saleTime = saleTime;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public String getCliName() {
		return cliName;
	}
	public void setCliName(String cliName) {
		this.cliName = cliName;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getFoodName() {
		return foodName;
	}
	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}
	public String getIsPaid() {
		return isPaid;
	}
	public void setIsPaid(String isPaid) {
		this.isPaid = isPaid;
	}
	public String getMoney() {
		return money;
	}
	public void setMoney(String money) {
		this.money = money;
	}
	
	@Override
	public String toString() {
		return "OrderItemEntity [saleTime=" + saleTime + ", orderId=" + orderId + ", cliName=" + cliName
				+ ", foodName=" + foodName + ", number=" + number + ", money="
				+ money + ", isPaid=" + isPaid  + "]";
	}
	
}
